package it.fuesi.synotools.services.client;

import it.fuesi.synotools.model.auth.LoginResponse;
import it.fuesi.synotools.services.constants.Service;
import it.fuesi.synotools.services.constants.ServiceType;
import retrofit.http.GET;
import retrofit.http.Query;

/**
 * Created by pascotto on 16/10/14.
 */
@ServiceType(Service.Synology)
public interface LoginClient {

    @GET("/webapi/auth.cgi?api=SYNO.API.Auth&version=2&method=login&session=SynoTools&format=cookie")
    LoginResponse login(@Query("account") String account, @Query("passwd") String passwd);


}
